package com.lyk.swap;

import java.util.Date;

import com.lyk.swap.struts.action.BaseAction;

public class DatePrice extends ShowPrice {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1540237356320661848L;
	private Date date;

	public DatePrice() {
		super();
	}

	public DatePrice(Date date, double price, double profit) {
		super();
		this.date = date;
		this.price = price;
		this.profit = profit;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	@Override
	public String getFormatDate() {
		return BaseAction.format(date);
	}

}
